<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>图片对比</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../lib/layui/css/layui.css" />
  <link rel="stylesheet" type="text/css" media="screen" href="css/zoom-marker.css" />
  <style>
    html,body{height:100%;}
  body {
    background-color: #fff;
  }
  .zoom-marker-opacity{opacity:unset !important;}
  .left{width:50%;position: relative;box-sizing: border-box;border-right:1px solid #ccc;}
  .right{width:50%;position: relative;}
  .imgtitle{width:100%;position:absolute;top:0px;left:0px;z-index:1000;padding:0 10px;background:rgba(0,0,0,0.5);color:#fff;line-height: 40px;}
  </style>
</head>
<body>
  <div id="zoom-marker-div" style="height:100%;display:flex;">
    <div class="left zoom-marker-div">
      <input type="hidden" id="picPath-left">
      <input type="hidden" id="picOriginalPath-left">
      <div class="imgtitle" id="left-title"></div>
      <img class="zoom-marker-img" id="zoom-marker-img-left" alt="zoom-marker-img-left" name="zoom-marker-img-left"
        draggable="false" />
    </div>
    <div class="right zoom-marker-div">
      <input type="hidden" id="picPath-right">
      <input type="hidden" id="picOriginalPath-right">
      <div class="imgtitle" id="right-title"></div>
      <img class="zoom-marker-img" id="zoom-marker-img-right" alt="zoom-marker-img-right" name="zoom-marker-img-right"
        draggable="false" />
    </div>
  </div>
  <!--底部工具条-->
  <div class="bottom-op-div">
    <img src="img/zoom_in.png" title="放大" onclick="zoomIn()"/>
    <img src="img/zoom_out.png" title="缩小" onclick="zoomOut()"/>
    <img src="img/fullscreen.png" title="全屏" class="fullscreen" onclick="fullScreen()"/>
    <img src="img/fullscreen-exit.png" title="退出全屏" class="fullscreen_exit" style="display:none" onclick="exitScreen()"/>
    <!-- <div class="picture-level">
      <span class="picture-level-span imgYT" onclick="imglevelJS()">原图</span>
      <span class="picture-level-span imgGQ" onclick="imglevelGQ()">高清</span>
    </div> -->
  </div>    
  <span class="bottom-op-div-tip">滚动鼠标滑轮放大和缩小图片</span>
  <script src="../../../js/jquery.min.js"></script>
  <script src="../../../lib/layui/layui.all.js" ></script>
  <script src="js/zoom-marker.js"></script>
  <script src="js/jquery.mousewheel.min.js"></script>
  <script src="js/hammer.min.js"></script>
  <script src="../../js/common.js"></script>
  <script src="js/markerCompare.js"></script>
</body>
</html>